<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>DOM</title>
    <script src="../jquery-2.0.3.js"></script>
  </head>

  <body>
    <script>
      // 1、一些变量

      //
      $.fn.extend({
          find
          has
          not
          filter
          is
          closest
          index
          add
          addBack
      });

      function sibling() {}

      // 节点获取的方法
      jQuery.each({
          parent
          parents
          parentsUntil
          next
          prev
          nextAll
          prevAll
          nextUntil
          prevUntil
          siblings
          children
          contents
      });

      jQuery.extend({
          filter
          dir
          sibling
      });

      function winnow(){}

      // 一些变量

      // DOM的操作
      jQuery.fn.extend({
          text
          append
          prepend
          before
          after
          remove
          empty
          clone
          html
          replaceWith
          detach
          domManip
      })

      jQuery.each({
          appendTo:"append",
          prependTo:"prepend",
          insertBefore:"before",
          insertAfter:"after",
          replaceAll:"replaceWith"
      });
    </script>
  </body>
</html>
